PELogOnInfo4

The PELogOnInfo4 structure was specially designed for 4-byte aligned functions. It contains log on information that is used by the PELogOnServer4 and PELogOffServer4 functions. The structure is used for logging on and off SQL and password-protected non-SQL databases.

Type PELogOnInfo4
StructSize As Integer
ServerName As String * PE_SERVERNAME_LEN
DatabaseName As String * PE_DATABASENAME_LEN
UserID As String * PE_USERID_LEN
Password As String * PE_PASSWORD_LEN
End Type
Members

StructSize

Specifies the size of the PELogOnInfo4 structure. You must initialize this member to the size of whatever it is, for example, info.StructSize = PE_SIZEOF_LOGON_INFO4.

ServerName

Specifies the logon name for the server used to create the report. For ODBC, use the data source name. *

DatabaseName

Specifies the logon name for the database used to create the report. *

UserID

Specifies the user ID# necessary to log on to the server. *

Password

Specifies the password necessary to log on the server. When you are using this structure to retrieve information using the crPEGetNthTableLogOnInfo function, the Password parameter is undefined.

*When you pass an empty string ("") for this parameter, the program uses the value that is already set in the report. If you want to override a value that is already set in the report, use a non-empty string (i.e., "Server A"). All strings must be null-terminated. For Netware SQL, pass the dictionary path name in ServerName and data path name in DatabaseName.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com